#include "Parser.h"
#include "TablaIndice.h"
#include <iostream>
#include <list>
#include "DocumentosRecuperados.h"
#define CANTIDAD_RESULTADOS 5

#ifndef RESOLVERDORDECONSULTAS_H_
#define RESOLVERDORDECONSULTAS_H_

class ResolverdorDeConsultas {
public:
	ResolverdorDeConsultas(const std::string &path_lexico, const std::string &path_punteros,
			const std::string &path_info_doc,const std::string &path_tabla);
	virtual ~ResolverdorDeConsultas();
	void consultar(std::string consulta);
	int* consultar(std::list<std::string> terminos_consulta, int* cantidad_devueltos);
private:
	std::string path_lexico;
	std::string path_punteros;
	std::string path_info_doc;
	std::string path_tabla;
	TablaIndice* tabla;
};

#endif /* RESOLVERDORDECONSULTAS_H_ */
